package com.rc.util;

import android.annotation.SuppressLint;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.os.Message;

public class NetworkChangeReceiver extends BroadcastReceiver {

	@SuppressLint("NewApi")
	@Override
	public void onReceive(Context context, Intent intent) {
		HandlerNetwork handle = new HandlerNetwork(context);
		Message msg = Message.obtain(handle,
				NetworkUtil.getConnectivityStatus(context));
		handle.getMessageName(msg);

	}

}
